package com.cy.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;


@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class ContentDTO implements Serializable {
    @ApiModelProperty("内容Id")
    private Long id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("分类Id")
    private Integer categoryId;

    @ApiModelProperty("摘要")
    private String brief;

    @ApiModelProperty("文章封面")
    private String coverUrl;

    @ApiModelProperty("摘要")
    private String keywords;


//    private String videoUrl;
//
//    private Integer viewCount;
//
//    private Integer commentCount;
//
//    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
//    private Date createTime;
//
//    private String content;
//
//    private String nickName;
//
//    private String userImgUrl;
}
